<div id="footer">
    	<?php wp_nav_menu(array('menu'=>'Footer','menu-class'=>'menu')); ?>
        <div class="copyright">
            <?php if(is_dynamic_sidebar('Footer Sidebar')) dynamic_sidebar('Footer Sidebar'); ?>
        </div>
    </div><!-- //footer -->
</div>
<?php
    $postid = get_query_var('p');
    if($postid !=226){ ?>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/jquery.js"></script>
<?php } ?>

<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/jquery.colorbox-min.js"></script>
<script type="text/javascript">		
	$(document).ready(function(){ 
		$(".team-list a").colorbox();
	});
</script>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/extra.js"></script>
<?php
    $postid = get_query_var('p');
    if($postid !=226){ ?>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true"></script>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/gmaps.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/prettify.js"></script>
<?php } ?>


<?php 
    if(is_home() || get_query_var('cat') == 12){
?>
<script type="text/javascript">
    var map;
    $(document).ready(function(){
      prettyPrint();
      map = new GMaps({
        div: '#map',
        lat: 25,
        lng: 95,
	zoom: 2
      });
    });
</script>
<?php
        echo do_shortcode('[show_google_map id=11]');
    }elseif(get_query_var('cat') == 13){
?>
<script type="text/javascript">
    var map;
    $(document).ready(function(){
      prettyPrint();
      map = new GMaps({
        div: '#map',
        lat: 8,
        lng: 110,
	zoom: 4
      });
    });
</script>
<?php echo do_shortcode('[show_google_map id=12]'); ?>
<?php }elseif(get_query_var('cat') == 19){ ?>
    <script type="text/javascript">
    var map;
    $(document).ready(function(){
      prettyPrint();
      map = new GMaps({
        div: '#map',
        lat: -26,
        lng: 132,
	zoom: 4
      });
    });
</script>
<?php echo do_shortcode('[show_google_map id=16]'); ?>
<?php }?>

<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/jquery.jshowoff.js"></script>
<script type="text/javascript">		
	jQuery(document).ready(function(){ jQuery('#banner').jshowoff(); });
</script>

<script type="text/javascript">		
    $(document).ready(function(){ 
            //On Click Event
            $("ul.map-tabs li:first").addClass("active")
            $(".map-tab-content").addClass("hide-tab"); 
            $(".map-tab-content:first").removeClass("hide-tab"); 
            $("ul.map-tabs li").click(function() {
                    $("ul.map-tabs li").removeClass("active");
                    $(this).addClass("active"); 
                    $(".map-tab-content").addClass("hide-tab"); 
                    var activeTab = $(this).find("a").attr("href"); 
                    $(activeTab).removeClass("hide-tab");
                    return false;
            });
    });
</script>

<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/jquery.ui.core.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/jquery.ui.widget.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/jquery.ui.datepicker.js"></script>
<script>
    $(function() {
        $( "#datepicker" ).datepicker({
                dateFormat: 'dd-mm-yy',
                showOn: "button",
                buttonImage: "<?php bloginfo('template_url'); ?>/images/ico-calendar.png",
                buttonImageOnly: true
        });
    });
</script>

<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/jquery.colorbox-min.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/tooltip.js"></script>
<script type="text/javascript">
$(document).ready(function() {
	$(".fac span").tooltip();
	$(".img-zoom").colorbox({rel:'group'});
});
</script>
</body>
</html>
<?php ob_flush(); ?>